package com.qq.client.model;

import java.util.HashMap;

public class manageSocket {
	
	public static HashMap hm = new HashMap<String, MessageReceiver>();

	public static void addMessageReceiver(String owner, MessageReceiver mr){
		hm.put(owner, mr);
	} 
	
	public static MessageReceiver getMessageReceiver(String ownerId){
		return (MessageReceiver)hm.get(ownerId);
		
	}
}
